package cn.com.dealme.domain.repository;

import java.util.List;
import java.util.Map;

import cn.com.dealme.domain.model.Commodity;

public interface ICommodityRepository {

	public Commodity find(Long id);
	
	public void delete(Long id);
	
	public void delete(Long [] ids);
	
	public List<Commodity> queryByPage(int page, int size);
	
	public List<Commodity> queryAllEq(Map<String, Object> eqs, int page, int size);
	
	public List<Commodity> queryLike(Map<String, Object> likes, int page, int size);
	
	
}
